package kuzha.ast;

public class MapElement extends Node {
	public final Expression key, value;

	public MapElement(Expression key, Expression value) {
		this.key = key;
		this.value = value;
	}
	
	@Override
	public void accept(AstVisitor visitor) {
		visitor.visit(this);
	}
	@Override
	public <A, R> R accept(AstVisitor2<A, R> visitor, A object) {
		return visitor.visit(this, object);
	}
}
